#define b0000  0
#define b0001  1
#define b0010  2
#define b0011  3
#define b0100  4
#define b0101  5
#define b0110  6
#define b0111  7
#define b1000  8
#define b1001  9
#define b1010 10
#define b1011 11
#define b1100 12
#define b1101 13
#define b1110 14
#define b1111 15

#define b00000000 0x00
#define b00000001 0x01
#define b00000010 0x02
#define b00000011 0x03
#define b00000100 0x04
#define b00000111 0x07
#define b00001000 0x08
#define b00001111 0x0f
#define b00010000 0x10
#define b00011111 0x1f
#define b00100000 0x20
#define b00111111 0x3f
#define b01000000 0x40
#define b01111111 0x7f
#define b10000000 0x80
#define b10111111 0xbf
#define b11000000 0xc0
#define b11011111 0xdf
#define b11100000 0xe0
#define b11101111 0xef
#define b11110000 0xf0
#define b11110111 0xf7
#define b11111000 0xf8
#define b11111011 0xfb
#define b11111100 0xfc
#define b11111101 0xfd
#define b11111110 0xfe
#define b11111111 0xff
